package com.yu.crm.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.yu.crm.domain.pojo.WfCombiInfo;
import com.yu.crm.domain.response.ConditionTypeRep;
import com.yu.crm.domain.response.DetailedConditions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 流程条件组合 Mapper 接口
 * </p>
 *
 * @author donnie-bin
 * @since 2019-10-08
 */
public interface WfCombiInfoMapper extends BaseMapper<WfCombiInfo> {

    List<DetailedConditions> getConditionDetail(@Param(Constants.WRAPPER) QueryWrapper query);

    List<ConditionTypeRep> getConditionTypeList(Long id);
}
